#makefile


#header include setting!-----------
project_root = /home/lookof/cuby-it

header_path = -I $(project_root)/
header_path += -I $(project_root)/cubE/
#header include setting!-----------

CC = color-g++

object = cubEPrimitive.o  cubEMath.o  cubECamera.o 
lib_name = cubE.a

CPPFLAGS = -g -Wall $(header_path)

$(lib_name) : $(object)
	ar -r $(lib_name) $(object)

cubEPrimitive.o : cubEPrimitive.hh

cubEMath.o : cubEMath.hh

cubECamera.o : cubECamera.hh




.PHONY : clean
clean :
	rm $(object) $(lib_name)